<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>胡硕帆 金浩然 李春奇</title>
    <style>
        body {
            margin: 0;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            font-family: "Microsoft YaHei", sans-serif;
            overflow: hidden;
            position: relative;
        }
        .background-animation {
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 0;
        }
        .circle {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            animation: float 15s infinite;
        }
        .circle:nth-child(1) {
            width: 300px;
            height: 300px;
            left: -150px;
            top: -150px;
            animation-delay: 0s;
        }
        .circle:nth-child(2) {
            width: 200px;
            height: 200px;
            right: -100px;
            bottom: -100px;
            animation-delay: -5s;
        }
        .circle:nth-child(3) {
            width: 150px;
            height: 150px;
            right: 20%;
            top: 20%;
            animation-delay: -10s;
        }
        .container {
            background-color: rgba(255, 255, 255, 0.95);
            padding: 40px 60px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            text-align: center;
            backdrop-filter: blur(10px);
            transform: translateY(0);
            animation: float 6s ease-in-out infinite;
            position: relative;
            z-index: 1;
            transition: transform 0.3s ease;
        }
        .container:hover {
            transform: scale(1.02);
        }
        .name {
            font-size: 48px;
            color: #2d3748;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
            margin: 15px 0;
            position: relative;
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.5s ease forwards;
        }
        .name:nth-child(3) { animation-delay: 0.2s; }
        .name:nth-child(4) { animation-delay: 0.4s; }
        .name:nth-child(5) { animation-delay: 0.6s; }
        .name:hover {
            transform: scale(1.05) translateY(-5px);
            color: #4a5568;
        }
        .name::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #667eea, #764ba2);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }
        .name:hover::after {
            width: 80%;
        }
        @keyframes float {
            0% {
                transform: translateY(0px) rotate(0deg);
            }
            50% {
                transform: translateY(-10px) rotate(5deg);
            }
            100% {
                transform: translateY(0px) rotate(0deg);
            }
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .title {
            font-size: 24px;
            color: #4a5568;
            margin-bottom: 30px;
            font-weight: 300;
            letter-spacing: 2px;
            opacity: 0;
            animation: fadeInUp 0.5s ease forwards;
        }
        .divider {
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, #667eea, #764ba2);
            margin: 20px auto;
            border-radius: 3px;
            opacity: 0;
            animation: fadeInUp 0.5s ease forwards 0.1s;
        }
        .cursor {
            position: fixed;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            pointer-events: none;
            transform: translate(-50%, -50%);
            transition: width 0.3s, height 0.3s;
            z-index: 9999;
        }
        .cursor.active {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.2);
        }
        .name.special {
            cursor: pointer;
            position: relative;
        }
        .name.special.clicked {
            animation: shake 0.5s ease;
        }
        .particle {
            position: absolute;
            pointer-events: none;
            background: linear-gradient(90deg, #667eea, #764ba2);
            border-radius: 50%;
            animation: particle-animation 1s ease-out forwards;
        }
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }
        @keyframes particle-animation {
            0% {
                transform: translate(0, 0) scale(1);
                opacity: 1;
            }
            100% {
                transform: translate(var(--tx), var(--ty)) scale(0);
                opacity: 0;
            }
        }
        .name.special::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, #667eea, #764ba2);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
            border-radius: 10px;
        }
        .name.special:hover::before {
            opacity: 0.1;
        }
        .name.special.clicked::before {
            animation: glow 1s ease;
        }
        @keyframes glow {
            0% { opacity: 0.1; }
            50% { opacity: 0.3; }
            100% { opacity: 0.1; }
        }
        .rainbow-text {
            background: linear-gradient(
                to right,
                #ff0000,
                #ff7f00,
                #ffff00,
                #00ff00,
                #0000ff,
                #4b0082,
                #8b00ff
            );
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: rainbow 3s linear infinite;
        }
        @keyframes rainbow {
            0% { background-position: 0% 50%; }
            100% { background-position: 100% 50%; }
        }
    </style>
</head>
<body>
    <div class="background-animation">
        <div class="circle"></div>
        <div class="circle"></div>
        <div class="circle"></div>
    </div>
    <div class="cursor"></div>
    <div class="container">
        <div class="title">欢迎访问</div>
        <div class="divider"></div>
        <div class="name">胡硕帆</div>
        <div class="name special" id="specialName">金浩然</div>
        <div class="name">李春奇</div>
    </div>
    <script>
        // 鼠标跟随效果
        const cursor = document.querySelector('.cursor');
        document.addEventListener('mousemove', (e) => {
            cursor.style.left = e.clientX + 'px';
            cursor.style.top = e.clientY + 'px';
        });
        document.addEventListener('mousedown', () => {
            cursor.classList.add('active');
        });
        document.addEventListener('mouseup', () => {
            cursor.classList.remove('active');
        });

        // 添加金浩然的点击特效
        const specialName = document.getElementById('specialName');
        let clickCount = 0;

        specialName.addEventListener('click', (e) => {
            // 添加抖动动画
            specialName.classList.add('clicked');
            setTimeout(() => specialName.classList.remove('clicked'), 500);

            // 创建粒子效果
            createParticles(e);

            // 点击次数计数
            clickCount++;
            if (clickCount % 3 === 0) {
                specialName.classList.toggle('rainbow-text');
            }
        });

        function createParticles(e) {
            const rect = specialName.getBoundingClientRect();
            const x = e.clientX - rect.left;
            const y = e.clientY - rect.top;

            for (let i = 0; i < 20; i++) {
                const particle = document.createElement('div');
                particle.className = 'particle';
                
                // 随机大小
                const size = Math.random() * 10 + 5;
                particle.style.width = `${size}px`;
                particle.style.height = `${size}px`;
                
                // 随机位置
                particle.style.left = `${x}px`;
                particle.style.top = `${y}px`;
                
                // 随机运动方向
                const angle = Math.random() * Math.PI * 2;
                const distance = Math.random() * 100 + 50;
                const tx = Math.cos(angle) * distance;
                const ty = Math.sin(angle) * distance;
                
                particle.style.setProperty('--tx', `${tx}px`);
                particle.style.setProperty('--ty', `${ty}px`);
                
                specialName.appendChild(particle);
                
                // 动画结束后移除粒子
                setTimeout(() => {
                    particle.remove();
                }, 1000);
            }
        }
    </script>
</body>
</html> 